package com.hrm.salarys.dao;

import com.hrm.domain.salarys.SalaryArchiveDetail;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.CrudRepository;
import org.springframework.data.repository.PagingAndSortingRepository;

import java.util.List;

public interface SalaryArchiveDetailDao extends PagingAndSortingRepository<SalaryArchiveDetail,String>, CrudRepository<SalaryArchiveDetail,String>, JpaRepository<SalaryArchiveDetail,String>, JpaSpecificationExecutor<SalaryArchiveDetail> {

    List<SalaryArchiveDetail> findByArchiveId(String id);
}
